{layout name="common/layout" /}

<div class="container" id="content-container">
    <div class="category-title">
        <div class="row">
            <div class="col-xs-12 col-md-8">
                <form class="" action="{:addon_url('cms/search/index')}" method="get">
                    {:token('__searchtoken__')}
                    <div class="input-group">
                        <input class="form-control" name="q" data-suggestion-url="{:addon_url('cms/search/suggestion')}" type="search" value="{$Think.request.q|default=''|htmlentities}" placeholder="输入关键词进行搜索" style="height:39px;line-height: 39px;">
                        <span class="input-group-btn">
                            <button class="btn btn-primary ml-2" type="submit" style="border-radius:2px;padding:10px 30px;">搜索</button>
                        </span>
                    </div>
                </form>
            </div>
            <div class="col-xs-12 col-md-4 text-right">

            </div>
        </div>
    </div>

    <div class="row">

        <main class="col-xs-12 col-md-8">
            <div class="panel panel-default">
                <div class="panel-heading">
                    <h3 class="panel-title">
                        <span>共找到 <span class="text-danger">{:$__PAGELIST__->total()}</span> 条信息</span>

                        <div class="more">
                            <ul class="list-unstyled list-inline category-order clearfix">
                                <!-- S 排序 -->
                                {cms:pageorder id="order"}
                                <li><a href="{$order.url}" class="{$order.active?'active':''}">{$order.title|htmlentities}</a></li>
                                {/cms:pageorder}
                                <!-- E 排序 -->
                            </ul>
                        </div>
                    </h3>
                </div>
                <div class="panel-body">
                    <div class="article-list">
                        <!-- S 列表 -->
                        {cms:pagelist id="item"}
                        {include file="common/item"}
                        {/cms:pagelist}
                        <!-- E 列表 -->
                    </div>

                    <!-- S 分页 -->
                    {include file="common/pageinfo" /}
                    <!-- E 分页 -->
                </div>
            </div>
        </main>

        <aside class="col-xs-12 col-md-4">
            {include file="common/sidebar" /}
        </aside>
    </div>
</div>
